package com.microservice.salmon.db.entities;

import javax.persistence.*;

@Table(name = "t_shop_scores")
public class ShopScore {
    /**
     * 自增ID
     */
    @Id
    @Column(name = "score_id")
    private Integer scoreId;

    /**
     * 门店ID
     */
    @Column(name = "shop_id")
    private Integer shopId;

    /**
     * 总评分
     */
    @Column(name = "total_score")
    private Integer totalScore;

    /**
     * 总评评分用户数
     */
    @Column(name = "total_users")
    private Integer totalUsers;

    /**
     * 商品评分
     */
    @Column(name = "goods_score")
    private Integer goodsScore;

    /**
     * 商品评分用户数
     */
    @Column(name = "goods_users")
    private Integer goodsUsers;

    /**
     * 服务评分
     */
    @Column(name = "service_score")
    private Integer serviceScore;

    /**
     * 服务评分用户数
     */
    @Column(name = "service_users")
    private Integer serviceUsers;

    /**
     * 时效评分
     */
    @Column(name = "time_score")
    private Integer timeScore;

    /**
     * 时效评分用户数
     */
    @Column(name = "time_users")
    private Integer timeUsers;

    /**
     * 获取自增ID
     *
     * @return score_id - 自增ID
     */
    public Integer getScoreId() {
        return scoreId;
    }

    /**
     * 设置自增ID
     *
     * @param scoreId 自增ID
     */
    public void setScoreId(Integer scoreId) {
        this.scoreId = scoreId;
    }

    /**
     * 获取门店ID
     *
     * @return shop_id - 门店ID
     */
    public Integer getShopId() {
        return shopId;
    }

    /**
     * 设置门店ID
     *
     * @param shopId 门店ID
     */
    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    /**
     * 获取总评分
     *
     * @return total_score - 总评分
     */
    public Integer getTotalScore() {
        return totalScore;
    }

    /**
     * 设置总评分
     *
     * @param totalScore 总评分
     */
    public void setTotalScore(Integer totalScore) {
        this.totalScore = totalScore;
    }

    /**
     * 获取总评评分用户数
     *
     * @return total_users - 总评评分用户数
     */
    public Integer getTotalUsers() {
        return totalUsers;
    }

    /**
     * 设置总评评分用户数
     *
     * @param totalUsers 总评评分用户数
     */
    public void setTotalUsers(Integer totalUsers) {
        this.totalUsers = totalUsers;
    }

    /**
     * 获取商品评分
     *
     * @return goods_score - 商品评分
     */
    public Integer getGoodsScore() {
        return goodsScore;
    }

    /**
     * 设置商品评分
     *
     * @param goodsScore 商品评分
     */
    public void setGoodsScore(Integer goodsScore) {
        this.goodsScore = goodsScore;
    }

    /**
     * 获取商品评分用户数
     *
     * @return goods_users - 商品评分用户数
     */
    public Integer getGoodsUsers() {
        return goodsUsers;
    }

    /**
     * 设置商品评分用户数
     *
     * @param goodsUsers 商品评分用户数
     */
    public void setGoodsUsers(Integer goodsUsers) {
        this.goodsUsers = goodsUsers;
    }

    /**
     * 获取服务评分
     *
     * @return service_score - 服务评分
     */
    public Integer getServiceScore() {
        return serviceScore;
    }

    /**
     * 设置服务评分
     *
     * @param serviceScore 服务评分
     */
    public void setServiceScore(Integer serviceScore) {
        this.serviceScore = serviceScore;
    }

    /**
     * 获取服务评分用户数
     *
     * @return service_users - 服务评分用户数
     */
    public Integer getServiceUsers() {
        return serviceUsers;
    }

    /**
     * 设置服务评分用户数
     *
     * @param serviceUsers 服务评分用户数
     */
    public void setServiceUsers(Integer serviceUsers) {
        this.serviceUsers = serviceUsers;
    }

    /**
     * 获取时效评分
     *
     * @return time_score - 时效评分
     */
    public Integer getTimeScore() {
        return timeScore;
    }

    /**
     * 设置时效评分
     *
     * @param timeScore 时效评分
     */
    public void setTimeScore(Integer timeScore) {
        this.timeScore = timeScore;
    }

    /**
     * 获取时效评分用户数
     *
     * @return time_users - 时效评分用户数
     */
    public Integer getTimeUsers() {
        return timeUsers;
    }

    /**
     * 设置时效评分用户数
     *
     * @param timeUsers 时效评分用户数
     */
    public void setTimeUsers(Integer timeUsers) {
        this.timeUsers = timeUsers;
    }
}